﻿using Basic.WxApiRemoteModel.WxMini;
using Basic.WxApiRemoteModel.WxMini.Model;
using Basic.WxService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.WxService.RpcEvent
{
    internal class WxMiniQrEvent : IRpcApiService
    {
        private readonly IMiniQrService _Service;

        public WxMiniQrEvent (IMiniQrService service)
        {
            this._Service = service;
        }
        public MiniQrResult CreateMiniQr (CreateMiniQr obj)
        {
            return this._Service.CreateQr(obj.WxAppId, obj.Param);
        }
    }
}
